<div class="widget-box">
  <div class="info-box">
    <i class=" main-icon {{ GetIcon(device)}}"></i>
    <div class="name">
      <span>{{device.name}}</span>
    </div>
  </div>
  <a class="view-button" [routerLink]="'/devices/' + device.id" >
    <i class="icon-settings"></i>
  </a>
 
  <div class="value">{{value(device)}}</div>
</div>
